package com.example.springboot.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.springboot.controller.dto.ArticleDTO;
import com.example.springboot.entity.Articles;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 文章表 服务类
 * </p>
 *
 * @author
 */
public interface IArticlesService extends IService<Articles> {

    Page<ArticleDTO> pageWithAuthor(Page<ArticleDTO> pageInfo, QueryWrapper<Articles> queryWrapper);

    void updateView(Integer categoryId);
}
